<div class="image-part">
            	<div class="ad-image">
                	<a href=""><%=image_tag @firstimage.filename,:width=>"510px",:height=>"345px",:align=>"left", :border=>"0px" -%></a>
                </div>
                <div class="image-title" align="center">
                    <br><b>Image Title</b>
                    </div>
                <div class="enlarge-image-icons">
                  <ul>
                   <% @images.each do |image|-%>
                        <li>



                          <%= link_to_remote image_tag(image.filename, :border=>"0px", :width=> "76px", :height=>"52px"),
                                :url => {:controller=>"view_advertisment",:action => "fullimage",:id => params[:id],:imageid=>image.id},
                                :update => "details"
                          %>

                        </li>
                    <%end -%>
                    </ul>
            	</div>
			</div>